<?php

	/* thumb.php
	   -------------------------------------------------------------------
	   Returns the thumbnail of the specified imageid.
	   This is used in upload.php's result.
	   -------------------------------------------------------------------
	*/
	
	$imgid=$_GET['imageid'];
	header('content-type: image/jpeg'); 
	echo file_get_contents('/societies/cshotel/snapstitcher/uploaded/'.$imgid.'_thumb.jpg'); 

?>